package com.example.sunmiv1.entity;

import java.util.ArrayList;
import java.util.List;

public class QuickVipInfo {

    /**
     * density_free_state : 0
     * info : [{"id":"623","nickname":"一吃就胖的小鑫","name":"l","balance":"588.00","cardnum":"18550871871","card_key":"0","integral":"224","grade_integral":"421","status":"1","plus_type":"3","density_free":"2","login_type":2,"payCode":"18550871871"}]
     * status : 1
     * msg : 查詢成功
     */

    private String density_free_state;
    private int status;
    private String msg;
    private List<InfoBean> info;

    public String getDensity_free_state() {
        return density_free_state == null ? "" : density_free_state;
    }

    public void setDensity_free_state(String density_free_state) {
        this.density_free_state = density_free_state;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMsg() {
        return msg == null ? "" : msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<InfoBean> getInfo() {
        if (info == null) {
            return new ArrayList<>();
        }
        return info;
    }

    public void setInfo(List<InfoBean> info) {
        this.info = info;
    }

    public static class InfoBean {
        /**
         * id : 623
         * nickname : 一吃就胖的小鑫
         * name : l
         * balance : 588.00
         * cardnum : 18550871871
         * card_key : 0
         * integral : 224
         * grade_integral : 421
         * status : 1
         * plus_type : 3
         * density_free : 2
         * login_type : 2
         * payCode : 18550871871
         */

        private String id;
        private String nickname;
        private String name;
        private String balance;
        private String cardnum;
        private String card_key;
        private String integral;
        private String grade_integral;
        private String status;
        private String plus_type;
        private String density_free;
        private int login_type;
        private String payCode;

        public String getId() {
            return id == null ? "" : id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getNickname() {
            return nickname == null ? "" : nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getName() {
            return name == null ? "" : name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getBalance() {
            return balance == null ? "" : balance;
        }

        public void setBalance(String balance) {
            this.balance = balance;
        }

        public String getCardnum() {
            return cardnum == null ? "" : cardnum;
        }

        public void setCardnum(String cardnum) {
            this.cardnum = cardnum;
        }

        public String getCard_key() {
            return card_key == null ? "" : card_key;
        }

        public void setCard_key(String card_key) {
            this.card_key = card_key;
        }

        public String getIntegral() {
            return integral == null ? "" : integral;
        }

        public void setIntegral(String integral) {
            this.integral = integral;
        }

        public String getGrade_integral() {
            return grade_integral == null ? "" : grade_integral;
        }

        public void setGrade_integral(String grade_integral) {
            this.grade_integral = grade_integral;
        }

        public String getStatus() {
            return status == null ? "" : status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getPlus_type() {
            return plus_type == null ? "" : plus_type;
        }

        public void setPlus_type(String plus_type) {
            this.plus_type = plus_type;
        }

        public String getDensity_free() {
            return density_free == null ? "" : density_free;
        }

        public void setDensity_free(String density_free) {
            this.density_free = density_free;
        }

        public int getLogin_type() {
            return login_type;
        }

        public void setLogin_type(int login_type) {
            this.login_type = login_type;
        }

        public String getPayCode() {
            return payCode == null ? "" : payCode;
        }

        public void setPayCode(String payCode) {
            this.payCode = payCode;
        }
    }
}
